//
//  UIButton+Extension.swift
//  SinWEiBo
//
//  Created by 胡良志 on 2018/3/16.
//  Copyright © 2018年 HuLiangZhi. All rights reserved.
//

import UIKit

extension UIButton{
    
     /// 快速创建Button对象
     ///
     /// - Parameters:
     ///   - title: 文字
     ///   - fountSize: 大小
     ///   - textColor: 颜色 
     convenience init(title:String,fountSize:CGFloat,textColor:UIColor) {
        self.init()
        self.setTitle(title, for: .normal)
        self.titleLabel?.font = UIFont.systemFont(ofSize: fountSize)
        self.setTitleColor(textColor, for: .normal)
    }
}



